﻿<%@ page contentType="text/html;charset=utf-8" language="java"%>
<%@ page import="java.util.*" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<html:html> 
	<head>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<LINK href="./styles/sciencee.css"  type=text/css rel=stylesheet>
		<LINK href="../styles/sciencee.css"  type=text/css rel=stylesheet>
		<style type="text/css">
		.STYLE1 {color: #FFFFFF}
        </style>
		<title>CGProject</title>
		<html:base/>
<%
	String cpath=request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+cpath+"/";
	String proId=(String)session.getAttribute("ProjectID");
%>
	<script src="<%=basePath %>js/dialog.js" language="JavaScript" type="text/javascript"></script>
	<script src="<%=basePath %>js/prototype-1.4.0.js" language="JavaScript" type="text/javascript"></script>
<script language="javascript">
function changeColor(data)
{
	var unassigned='<bean:message key="HasInput"/>';
	var assigned='<bean:message key="HasAssigned"/>';
	var waiting='<bean:message key="StandBy"/>';
	var pass='<bean:message key="ConfirmPassed"/>';
	var modify='<bean:message key="modify"/>';
	var queue='<bean:message key="queue"/>';
	var toCheck='<bean:message key="WaitingConfirm"/>';
	var finished='<bean:message key="Finished"/>';
	var inProgress='<bean:message key="IsDoing"/>';
	var pause = '<bean:message key="PAUSE"/>';
	data = data.replace(/未分配/g,"<table width='100%' height='100%' bgcolor='#cecece'><tr><td>"+unassigned+"</td></tr></table>");
	data = data.replace(/已分配/g,"<table width='100%' height='100%' bgcolor='#eafbcc'><tr><td>"+assigned+"</td></tr></table>");
	data = data.replace(/待审/g,"<table width='100%' height='100%' bgcolor='#fef0dd'><tr><td>"+toCheck+"</td></tr></table>");
	data = data.replace(/未通过/g,"<table width='100%' height='100%' bgcolor='#93a491'><tr><td>"+modify+"</td></tr></table>");
	data = data.replace(/审核通过/g,"<table width='100%' height='100%' bgcolor='#f0e2f9'><tr><td>"+pass+"</td></tr></table>");
	data = data.replace(/已完成/g,"<table width='100%' height='100%' bgcolor='#fbf8cc'><tr><td>"+finished+"</td></tr></table>");
	data = data.replace(/等待/g,"<table width='100%' height='100%' bgcolor='#c3dbff'><tr><td>"+waiting+"</td></tr></table>");
	data = data.replace(/制作中/g,"<table width='100%' height='100%' bgcolor='#d43e1b'><tr><td>"+inProgress+"</td></tr></table>");
	data = data.replace(/暂停/g,"<table width='100%' height='100%' bgcolor='#ff001b'><tr><td>"+pause+"</td></tr></table>");
	
	data = data.replace(/HasInput/g,"<table width='100%' height='100%' bgcolor='#cecece'><tr><td>"+unassigned+"</td></tr></table>");
	data = data.replace(/HasAssigned/g,"<table width='100%' height='100%' bgcolor='#eafbcc'><tr><td>"+assigned+"</td></tr></table>");
	data = data.replace(/WaitingConfirm/g,"<table width='100%' height='100%' bgcolor='#fef0dd'><tr><td>"+toCheck+"</td></tr></table>");
	data = data.replace(/ConfirmNotPassed/g,"<table width='100%' height='100%' bgcolor='#93a491'><tr><td>"+modify+"</td></tr></table>");
	data = data.replace(/ConfirmPassed/g,"<table width='100%' height='100%' bgcolor='#f0e2f9'><tr><td>"+pass+"</td></tr></table>");
	data = data.replace(/Finished/g,"<table width='100%' height='100%' bgcolor='#fbf8cc'><tr><td>"+finished+"</td></tr></table>");
	data = data.replace(/StandBy/g,"<table width='100%' height='100%' bgcolor='#c3dbff'><tr><td>"+waiting+"</td></tr></table>");
	data = data.replace(/InDoing/g,"<table width='100%' height='100%' bgcolor='#d43e1b'><tr><td>"+inProgress+"</td></tr></table>");
	data = data.replace(/PAUSE/g,"<table width='100%' height='100%' bgcolor='#ff001b'><tr><td>"+pause+"</td></tr></table>");
	return data;
}

</script>
	</head>
	<frameset rows="36,*" cols="*" framespacing="2" frameborder="yes" border="1" bordercolor="#648bcb" scrolling="no">
  <frame src="../top.do" id="top" name="topFrame"  framespacing="1" frameborder="yes" border="1" bordercolor="#648bcb" scrolling="no"/>
  <frameset rows="*" cols="20%,*" framespacing="2" frameborder="yes" border="1" bordercolor="#648bcb" scrolling="no">
    <frameset rows="60%,*" cols="*" framespacing="2" frameborder="yes" border="1" bordercolor="#648bcb" scrolling="no">
		<frame src="../frame.do?Frame=11" id="A" name="A" style="border: 1px solid #d4dded" scrolling="no"/>
		<frame src="../frame.do?Frame=14" id="E" name="E" style="border: 1px solid #d4dded" scrolling="no"/>
	</frameset>
    <frameset rows="40%,*" cols="*" framespacing="2" frameborder="yes" border="1" bordercolor="#648bcb" scrolling="no">
		<frame src="../frame.do?Frame=12" id="B" name="B"  style="border: 1px solid #d4dded" scrolling="no"/>
		<frame src="../frame.do?Frame=13" id="D" name="D"  style="border: 1px solid #d4dded" scrolling="no"/>
	</frameset>
  </frameset>
</frameset><noframes></noframes>
	<body>
	</body>
	
</html:html>